/**
 * @auther wangchenghao
 * @date 2021/5/5
 **/
public class solution_05_01 {
    public static String replaceSpace(String s) {
        s.replaceAll(" ","%20");
        return s;
    }

    public static void main(String[] args) {
       String s = "We are happy.";
        System.out.println("replaceSpace(s) = " + replaceSpace(s));
    }
}
